<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page session="false"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Index</title>
</head>
<body>
	<h1>Tìm Xe</h1>
	<c:url var="action" value="/reservation/search"></c:url>
	<form action="${action}">
		<fieldset>
			<legend>Tim Xe</legend>
			<table class="tb-content">
				<tr>
					<td>Chon Hang Xe</td>
					<td><select>
							<c:forEach items="${brandData}" var="obj">

								<option value="${obj.brandId}">${obj.brandName}</option>
							</c:forEach>
					</select></td>
				</tr>
				<tr>
					<td>Chon Model Xe</td>
					<td><select name="modelId">
							<c:forEach items="${modelData}" var="obj">
								<option value="${obj.modelId}">${obj.modelName}</option>
							</c:forEach>
					</select></td>
				</tr>
			</table>
			<input type="submit" value="Tim Xe" />
		</fieldset>

	</form>
</body>
</html>
